package com.lagou.blog.mapper;

import com.lagou.blog.model.BlogRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 用于查询博客信息的Mapper
 */
@Mapper
public interface BlogMapper {
    /**
     * 查询博客信息
     *
     * @return 博客信息
     */
    @Select("select * from t_article")
    List<BlogRecord> queryBlogs();
}
